cmake_minimum_required(VERSION 3.10)

project(sort_algorithm VERSION 0.1.0)

set(CMAKE_CXX_STANDARD 17)


include_directories(${GTEST_INCLUDE_DIRS})

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)
file(GLOB SORT_SRC "${PROJECT_SOURCE_DIR}/src/*.cpp")
add_library(SORT_LIB STATIC ${SORT_SRC})


add_executable(${PROJECT_NAME}  ${PROJECT_SOURCE_DIR}/main.cpp)
target_link_libraries(${PROJECT_NAME} SORT_LIB)
add_subdirectory(test)